﻿using System.Windows;

namespace FireUI.Core.TLManager;

public class LanguageManager : TLManageBase
{
    protected override void InitializeResources()
    {
        _resources = new Dictionary<string, ResourceDictionary>
        {
            {
                "English",
                new ResourceDictionary
                {
                    Source = new Uri(
                        @"/FireUI.Lans;component/en.xaml",
                        UriKind.RelativeOrAbsolute
                    )
                }
            },
            {
                "Chinese",
                new ResourceDictionary
                {
                    Source = new Uri(
                        @"/FireUI.Lans;component/zh-cn.xaml",
                        UriKind.RelativeOrAbsolute
                    )
                }
            }
        };
    }
}